import API from '../axios';

export function checkStatus(key) {
    return API({
        url: `/login/qr/check?key=${key}&timestamp=${Date.now()}`,
        method: 'get'
    }).data
}

export function getLoginStatus(key) {
    return API({
        url: `/login/qr/check?key=${key}&timestamp=${Date.now()}`,
        method: 'post',
        data: {
            cookie,
        },
    })
}
